package br.com.lumis.ims.model;

public enum MetricaDisco {
	QUEUE_LENGTH("VolumeQueueLength", MetricaStat.SUM),
	IDLE_TIME("VolumeIdleTime", MetricaStat.SUM),
	READ_OPS("VolumeReadOps", MetricaStat.SUM),
	WRITE_OPS("VolumeWriteOps", MetricaStat.SUM),
	TOTAL_READ_TIME("VolumeTotalReadTime", MetricaStat.SUM),
	TOTAL_WRITE_TIME("VolumeTotalWriteTime", MetricaStat.SUM);

	public static final String NAMESPACE = "AWS/EBS";
	private final String metrica;
	private final MetricaStat stat;
	
	MetricaDisco(String metrica, MetricaStat stat) {
		this.metrica = metrica;
		this.stat = stat;
	}
	
	public String nomeMetrica() {
		return this.metrica;
	}
	
	public MetricaStat statMetrica() {
		return this.stat;
	}
	
	public String toString() {
		return this.metrica;
	}
}
